package com.jgds.game;

import javax.swing.Icon;

public class JgdsGame implements Runnable{

	private String title = "My Game V1.0";
	private String description = "A default description.";
	private Icon icon;
	private int height = 320;
	private int width = 480;
	private int pixleZoom = 1;
	private boolean fullscreen = false;
		
	private boolean gameRunning = true;
	
	public JgdsGame(){
		
	}
	
	private void initGame(){
		//Bildschirm erstellen, sichtbar machen
		//
	}
	
	@Override
	public void run() {
		while(gameRunning){
			//game und renderloop
		}
		System.exit(0);
	}
	
	protected void setResultion(int width, int height){
		this.height = height;
		this.width = width;
	}
	
	protected void setResultion(int width, int height, int zoom){
		this.height = height;
		this.width = width;
		this.pixleZoom = zoom;
	}
	
	protected void setGameHeight(int height){
		this.height = height;
	}
	
	protected void setGameWidth(int width){
		this.width = width;
	}
	
	protected void setTitle(String title){
		this.title = title;
	}
	
	protected void setDescription(String descr){
		this.description = descr;
	}
	
	protected void startGame(){
		this.initGame();
		new Thread(this).start();
	}
	
	protected void stopGame(){
		this.gameRunning = false;
	}


	
}
